package net.hn.hnms.biz.project.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "contract_invoice_payment", schema = "xmgl", catalog = "huaneng-manage")
public class ContractInvoicePayment extends BaseModel implements Serializable {

    @ApiModelProperty(value = "id")
    @TableField(value = "invoice_payment_id", fill = FieldFill.INSERT)
    @TableId(type = IdType.ASSIGN_UUID)
    private String invoicePaymentId;

    @ApiModelProperty(value = "发票信息表ID")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String invoiceId;

    @ApiModelProperty(value = "合同结算表ID")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String paymentId;



}
